<?php
/**
 * +----------------------------------------------------------------------
 * | summer framework
 * +----------------------------------------------------------------------
 * | Copyright (c) 2020 https://github.com/suframe/think-admin All rights reserved.
 * +----------------------------------------------------------------------
 * | Author: summer <806115620@qq.com>  2020/4/14 13:46
 * +----------------------------------------------------------------------
 */

namespace app\mall\controller\admin;


use suframe\thinkAdmin\traits\SettingConfigController;
use think\facade\View;

class MallConfig extends Base
{

    use SettingConfigController;

    public function index()
    {
        if ($this->request->isPost()) {
            return $this->doPost();
        }
        return $this->doShow();
    }

    protected function getSettingAppName()
    {
        return $this->app->http->getName();
    }

    protected function fetchSettingView()
    {
        return View::fetch('mallConfig' . DIRECTORY_SEPARATOR . 'index');
    }

}